package com.itbbfx.mapper;

import com.itbbfx.entity.Warehuose;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface WarehouseMapper extends Mapper<Warehuose> {
    @Select("select * from warehuose")
    List<Warehuose> queryAll();

    //库房的增删查改
    List<Warehuose> findAllWarehuose(Warehuose warehuose);
    int deleteWarehuose(Integer warehouseId);
    int addWarehuose(Warehuose warehuose);
    int count(Warehuose warehuose);

    int editWarehouse(Warehuose warehuose);
}